package com.aptemo.webetek.client.commands.responses;

import java.util.ArrayList;

import com.aptemo.webetek.client.commands.GotAsynchCallback;

public abstract class GotListAsynchCallback<T>
		extends GotAsynchCallback<ListResponse<T>>
{

	public abstract void onSuccessList(ArrayList<T> result);

	@Override
	public void onSuccess(ListResponse<T> result)
	{
		onSuccessList(result.getList());
	}

}
